package pack1;

import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.interactions.Actions;

import com.opera.core.systems.scope.protos.ExecProtos.ActionList.Action;

public class sptg20 {
public static void main(String[] args) {
	WebDriver driver=new FirefoxDriver();
	driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
	driver.get("http://yatra.com");
driver.manage().window().maximize();
	Actions action = new Actions(driver);
	
	WebElement hotel = driver.findElement(By.id("htls_dwnarw_yttkd"));
	action.moveToElement(hotel).perform();
	driver.findElement(By.id("dom_htls_yttkd")).click();
	System.out.println("hello");

}
}
